<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>存储扩展 - Web3 AI数字人NFT交互平台</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        body {
            background: linear-gradient(135deg, #0f0f2d 0%, #1a1a40 100%);
            color: white;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            height: 100vh;
            margin: 0;
            padding: 0;
            overflow-y: auto;
        }
        .storage-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .header {
            padding: 15px 20px;
            background: rgba(15, 15, 45, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
        }
        .back-button {
            margin-right: 15px;
            width: 36px;
            height: 36px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .ai-info {
            padding: 20px;
            display: flex;
            align-items: center;
        }
        .ai-avatar {
            width: 60px;
            height: 60px;
            border-radius: 20px;
            overflow: hidden;
            margin-right: 15px;
            border: 2px solid #7c3aed;
        }
        .ai-name {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        .ai-personality {
            color: #a78bfa;
            font-size: 14px;
        }
        .storage-status {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            margin: 0 20px 20px;
            padding: 20px;
        }
        .storage-title {
            font-weight: bold;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .storage-icon {
            color: #a78bfa;
            margin-right: 8px;
        }
        .storage-bar-container {
            margin: 20px 0;
        }
        .storage-bar {
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 10px;
        }
        .storage-progress {
            height: 100%;
            background: linear-gradient(90deg, #7c3aed, #3b82f6);
            border-radius: 4px;
            width: 65%;
        }
        .storage-labels {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
        }
        .storage-info {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .info-item {
            text-align: center;
        }
        .info-value {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
            background: linear-gradient(90deg, #7c3aed, #3b82f6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .info-label {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
        }
        .upgrade-options {
            padding: 0 20px;
        }
        .section-title {
            font-weight: bold;
            margin-bottom: 15px;
        }
        .option-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 15px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        .option-card:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.2);
        }
        .option-card.recommended {
            border: 1px solid rgba(124, 58, 237, 0.5);
            background: rgba(124, 58, 237, 0.08);
        }
        .option-icon {
            width: 50px;
            height: 50px;
            border-radius: 15px;
            background: rgba(124, 58, 237, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: #a78bfa;
            font-size: 24px;
        }
        .option-info {
            flex: 1;
        }
        .option-name {
            font-weight: bold;
            margin-bottom: 5px;
        }
        .option-description {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 5px;
        }
        .option-price {
            font-size: 14px;
            color: #3b82f6;
            display: flex;
            align-items: center;
        }
        .recommended-badge {
            background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
            color: white;
            font-size: 10px;
            padding: 3px 8px;
            border-radius: 10px;
            margin-left: 10px;
        }
        .payment-button {
            background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
            border: none;
            border-radius: 12px;
            padding: 14px;
            color: white;
            font-weight: 600;
            width: 100%;
            margin-top: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .glow {
            position: fixed;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
        }
        .glow-1 {
            top: 20%;
            left: 10%;
            background: rgba(124, 58, 237, 0.15);
        }
        .glow-2 {
            bottom: 10%;
            right: 10%;
            background: rgba(59, 130, 246, 0.15);
        }
    </style>
</head>
<body>
    <div class="glow glow-1"></div>
    <div class="glow glow-2"></div>
    
    <div class="storage-container">
        <div class="header">
            <button class="back-button">
                <i class="fas fa-chevron-left"></i>
            </button>
            <div class="font-semibold">存储扩展</div>
        </div>
        
        <div class="ai-info">
            <div class="ai-avatar">
                <img src="https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80" alt="AI Avatar" class="w-full h-full object-cover">
            </div>
            <div>
                <div class="ai-name">星际探索者</div>
                <div class="ai-personality">创意型 · 探险家</div>
            </div>
        </div>
        
        <div class="storage-status">
            <div class="storage-title">
                <div>
                    <i class="fas fa-brain storage-icon"></i> 记忆存储状态
                </div>
                <div class="text-sm text-purple-400">已使用 65%</div>
            </div>
            
            <div class="storage-bar-container">
                <div class="storage-bar">
                    <div class="storage-progress"></div>
                </div>
                <div class="storage-labels">
                    <div>0 GB</div>
                    <div>10 GB</div>
                </div>
            </div>
            
            <div class="storage-info">
                <div class="info-item">
                    <div class="info-value">6.5 GB</div>
                    <div class="info-label">已使用</div>
                </div>
                <div class="info-item">
                    <div class="info-value">3.5 GB</div>
                    <div class="info-label">剩余</div>
                </div>
                <div class="info-item">
                    <div class="info-value">10 GB</div>
                    <div class="info-label">总容量</div>
                </div>
            </div>
        </div>
        
        <div class="upgrade-options">
            <div class="section-title">选择扩展方案</div>
            
            <div class="option-card">
                <div class="option-icon">
                    <i class="fas fa-plus"></i>
                </div>
                <div class="option-info">
                    <div class="option-name">基础扩展</div>
                    <div class="option-description">增加 5GB 存储空间，适合日常对话记忆</div>
                    <div class="option-price">
                        <i class="fab fa-ethereum mr-1"></i> 0.05 ETH
                    </div>
                </div>
            </div>
            
            <div class="option-card recommended">
                <div class="option-icon">
                    <i class="fas fa-rocket"></i>
                </div>
                <div class="option-info">
                    <div class="option-name">
                        高级扩展 <span class="recommended-badge">推荐</span>
                    </div>
                    <div class="option-description">增加 20GB 存储空间，支持更多对话历史和多媒体内容</div>
                    <div class="option-price">
                        <i class="fab fa-ethereum mr-1"></i> 0.15 ETH
                    </div>
                </div>
            </div>
            
            <div class="option-card">
                <div class="option-icon">
                    <i class="fas fa-infinity"></i>
                </div>
                <div class="option-info">
                    <div class="option-name">无限扩展</div>
                    <div class="option-description">增加 50GB 存储空间，适合长期深度交流和创作</div>
                    <div class="option-price">
                        <i class="fab fa-ethereum mr-1"></i> 0.30 ETH
                    </div>
                </div>
            </div>
            
            <button class="payment-button">
                <i class="fas fa-wallet mr-2"></i> 确认支付
            </button>
        </div>
    </div>
</body>
</html>